.TH std::experimental::observer_ptr::release 3 "2024.06.10" "http://cppreference.com" "C++ Standard Libary"
.SH NAME
std::experimental::observer_ptr::release \- std::experimental::observer_ptr::release

.SH Synopsis
   constexpr element_type* release() noexcept;  (library fundamentals TS v2)

   Stop watching the watched object, if any. get() returns nullptr after the call.

.SH Parameters

   \fI(none)\fP

.SH Return value

   A pointer to the previously watched object, or nullptr if there was no watched
   object, i.e. the value which would be returned by get() before the call.

.SH Example

    This section is incomplete
    Reason: no example

.SH See also

   get   returns a pointer to the watched object
         \fI(public member function)\fP
   reset replaces the watched object
         \fI(public member function)\fP

.SH Category:
     * Todo no example
